#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "global.h"

void post_tread_eqar(sourceInfo *output, configureInfo *cfi_out, unsigned char *dst[3][MAX_FACE]){

}

#if asyerp
void post_tread_asyerp(sourceInfo *output, configureInfo *cfi_out, unsigned char *dst[3][MAX_FACE]){

}
#endif
void post_tread_cube(sourceInfo *output, configureInfo *cfi_out, unsigned char *dst[3][MAX_FACE]){

}

#if doublering

void post_tread_doublering(sourceInfo *output, configureInfo *cfi_out, unsigned char *dst[3][MAX_FACE]){

}

#endif

#if POLERECT

void post_tread_polerect(sourceInfo *output, configureInfo *cfi_out, unsigned char *dst[3][MAX_FACE]){

}

#endif

#if ASC

void post_tread_asc(sourceInfo *output, configureInfo *cfi_out, unsigned char *dst[3][MAX_FACE]){

}

#endif

#if ISP
void compactFramePack(sourceInfo *output, configureInfo *cfi_out);
void post_tread_isp(sourceInfo *output, configureInfo *cfi_out, unsigned char *dst[3][MAX_FACE]){
	compactFramePack( output,  cfi_out);
}
#endif

#if MTK_SS_CUBE

void post_tread_ssCube(sourceInfo *output, configureInfo *cfi_out, unsigned char *dst[3][MAX_FACE]){

}

#endif

void init_function_post_tread(sourceInfo *input_Info, sourceInfo *output_Info){

	// init output function
	if (!strcmp(output_Info->format, "eqar")){
		handle_function.post_tread_out = post_tread_eqar;
	}
#if asyerp
    else if (!strcmp(output_Info->format, "asyerp")){
        handle_function.post_tread_out = post_tread_asyerp;
    }
#endif
	else if (!strcmp(output_Info->format, "cube")){
		handle_function.post_tread_out = post_tread_cube;
	}
#if doublering

	else if (!strcmp(output_Info->format, "doublering")){
		handle_function.post_tread_out = post_tread_doublering;
	}

#endif

#if POLERECT
	else if (!strcmp(output_Info->format, "polerect")){
		handle_function.post_tread_out = post_tread_polerect;
	}
#endif

#if ASC
	else if (!strcmp(output_Info->format, "asc")){
		handle_function.post_tread_out = post_tread_asc;
	}
#endif

#if ISP
	else if (!strcmp(output_Info->format, "isp")){
		handle_function.post_tread_out = post_tread_isp;
	}
#endif
#if MTK_SS_CUBE
	else if (!strcmp(output_Info->format, "ssCube")){
		handle_function.post_tread_out = post_tread_ssCube;
	}

#endif


}